/**
 * Copyright (c) 2017-2024 Nop Platform. All rights reserved.
 * Author: canonical_entropy@163.com
 * Blog:   https://www.zhihu.com/people/canonical-entropy
 * Gitee:  https://gitee.com/canonical-entropy/nop-entropy
 * Github: https://github.com/entropy-cloud/nop-entropy
 */
package com.gitee.wsl.struct.table.impl



class BaseTable : AbstractTable<BaseRow>() {

    override var rows: MutableList<BaseRow> = mutableListOf()
        private set

    override var cols: List<BaseColumnConfig> = ArrayList<BaseColumnConfig>()

    var model: Any? = null

    public override fun newRow(): BaseRow {
        return BaseRow()
    }

    /*protected fun outputJson(handler: IJsonHandler) {
        super.outputJson(handler)

        handler.put("cols", this.cols)
        handler.put("rows", this.rows)
    }*/
}